<ui:composition xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:oso="http://osoftware.com/facelets"
	template="/WEB-INF/templates/mainSearchLayout.xhtml">

	<ui:define name="title">
			<h:outputText value="#{resourceBundle['region.title']}" />
	</ui:define>
	
	<ui:define name="searchFields">
		<oso:inputText id="nameFilter" label="#{resourceBundle['region.name']}" value="#{regionModel.filter.name}"/>
	</ui:define>

	<ui:define name="listValues">
		<ui:param name="listModel" value="#{regionModel.list}" />
		<ui:param name="targetObject" value="#{regionModel.editedEntity}" />
	</ui:define>

	<ui:define name="searchColumns">
		<p:column sortBy="#{row.name}">
			<f:facet name="header">
				<h:outputText value="#{resourceBundle['region.name']}" />
			</f:facet>
			<h:outputText value="#{row.name}" />
		</p:column>
	</ui:define>
</ui:composition>